/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.model;
import java.util.Date;

import com.legendshop.dao.persistence.Column;
import com.legendshop.dao.persistence.Entity;
import com.legendshop.dao.persistence.GeneratedValue;
import com.legendshop.dao.persistence.GenerationType;
import com.legendshop.dao.persistence.Id;
import com.legendshop.dao.persistence.Table;
import com.legendshop.dao.persistence.TableGenerator;
import com.legendshop.dao.support.GenericEntity;

import com.legendshop.dao.support.GenericEntity;

/**
 *
 */
@Entity
@Table(name = "ls_customer")
public class Customer implements GenericEntity<Long> {

	private static final long serialVersionUID = -2273120806259217877L;

	/** 主键 */
	private Long id; 
		
	/** 客户名称 */
	private String name; 
		
	/** 客户描述 */
	private String note; 
		
	/** 联系人 */
	private String contact; 
		
	/** 联系电话 */
	private String phone; 
		
	/** 联系邮箱 */
	private String email; 
		
	/** 联系地址 */
	private String address; 
		
	/** 微信 */
	private String weixin; 
		
	/** QQ */
	private String qq; 
		
	/** 备注 */
	private String remark; 
		
	/** 状态 */
	private Long status; 
		
	/** 创建时间 */
	private Date createTime; 
		
	
	public Customer() {
    }
		
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "generator")
	@TableGenerator(name = "generator", pkColumnValue = "CUSTOMER_SEQ")
	public Long  getId(){
		return id;
	} 
		
	public void setId(Long id){
			this.id = id;
		}
		
    @Column(name = "name")
	public String  getName(){
		return name;
	} 
		
	public void setName(String name){
			this.name = name;
		}
		
    @Column(name = "note")
	public String  getNote(){
		return note;
	} 
		
	public void setNote(String note){
			this.note = note;
		}
		
    @Column(name = "contact")
	public String  getContact(){
		return contact;
	} 
		
	public void setContact(String contact){
			this.contact = contact;
		}
		
    @Column(name = "phone")
	public String  getPhone(){
		return phone;
	} 
		
	public void setPhone(String phone){
			this.phone = phone;
		}
		
    @Column(name = "email")
	public String  getEmail(){
		return email;
	} 
		
	public void setEmail(String email){
			this.email = email;
		}
		
    @Column(name = "address")
	public String  getAddress(){
		return address;
	} 
		
	public void setAddress(String address){
			this.address = address;
		}
		
    @Column(name = "weixin")
	public String  getWeixin(){
		return weixin;
	} 
		
	public void setWeixin(String weixin){
			this.weixin = weixin;
		}
		
    @Column(name = "qq")
	public String  getQq(){
		return qq;
	} 
		
	public void setQq(String qq){
			this.qq = qq;
		}
		
    @Column(name = "remark")
	public String  getRemark(){
		return remark;
	} 
		
	public void setRemark(String remark){
			this.remark = remark;
		}
		
    @Column(name = "status")
	public Long  getStatus(){
		return status;
	} 
		
	public void setStatus(Long status){
			this.status = status;
		}
		
    @Column(name = "create_time")
	public Date  getCreateTime(){
		return createTime;
	} 
		
	public void setCreateTime(Date createTime){
			this.createTime = createTime;
		}
	


} 
